package beans;

/*
 *  Course: S09-15437 - WEB APPLICATION DEVELOPMENT 
 * 	Name: Jiale Huang
 * 	Andrew ID: jialeh
 * 	Date: 2/23/2009
 *  Assignment: Hw4
 */

public class Bookmark {
	
	private int id;
	private int clickCount = 0;
	private String comment;
	private String uRL;
	private String userEmail;
		
	//how to make it automatically increase and how to set the userEmail foreign key;
	
	public Bookmark(int id){
		this.id = id;
	}
	
	public Bookmark(String userEmail){
		
		this.userEmail = userEmail;
	}
	
	public int getId() {
		return id;
	}
	
	public int getClickCount() {
		return clickCount;
	}
	public void setClickCount(int clickCount) {
		this.clickCount = clickCount;
	}
	
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	public String getURL() {
		return uRL;
	}
	public void setURL(String url) {
		uRL = url;
	}
	
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
}
